module EventsHelper
  def number_of_events_in_state(state)
    @event_counts[state].to_i || 0
  end
  
end
